package com.ruoyi.keep.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 私课评价管理对象 selfish_course_evaluate
 * 
 * @author yipeng
 * @date 2024-08-15
 */
public class SelfishCourseEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String content;

    /** 教练评分 */
    @Excel(name = "教练评分")
    private Long rating;

    /** 私课id */
    @Excel(name = "私课id")
    private Long courseId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 评价图片 */
    @Excel(name = "评价图片")
    private String image;

    /** 教练id */
    @Excel(name = "教练id")
    private Long teacherId;

    /** 私课名称 */
    private String name;

    /** 用户昵称 */
    private String userName;

    /** 教练昵称 */
    private String tName;

    /** 逻辑删除 */
    private Long del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setRating(Long rating) 
    {
        this.rating = rating;
    }

    public Long getRating() 
    {
        return rating;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    @Override
    public String toString() {
        return "SelfishCourseEvaluate{" +
                "id=" + id +
                ", time=" + time +
                ", content='" + content + '\'' +
                ", rating=" + rating +
                ", courseId=" + courseId +
                ", userId=" + userId +
                ", image='" + image + '\'' +
                ", teacherId=" + teacherId +
                ", name='" + name + '\'' +
                ", userName='" + userName + '\'' +
                ", tName='" + tName + '\'' +
                ", del=" + del +
                '}';
    }
}
